Skip to content

Add paint tints to info_overlay and prop_static#306

Open
TeamSpen210 wants to merge 2 commits intomasterfrom
feat/paint-tinting
Open

Add paint tints to info_overlay and prop_static#306
TeamSpen210 wants to merge 2 commits intomasterfrom
feat/paint-tinting

Conversation

@TeamSpen210
Copy link
Member

Adds the ability to dynamically tint overlays/static props by the current paint colour.

Needs the internal game PR to be merged first.

@TeamSpen210 TeamSpen210 added enhancement New feature or request Blocked: Waiting on game PR Waiting for the associated game PR to be merged labels Mar 6, 2026
]
tint(color255) : "Tint Color" : "255 255 255 255" : "Applies a color tint using multiply mix mode. Color will be put as $color shader parameter. Alpha will be put as $alpha shader parameter, so make sure the overlay's material allows the use of those parameters."

colorvar(integer) : "Color Var" : : "If set, override the $color tint by the specified color var."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this supposed to be an integer? or a string

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep string, was an integer previously.

renderamt(integer) : "Alpha" : 255 : "Alpha of the fade, where 0 = fully transparent and 255 = fully opaque."
rendercolor(color255) : "Color (R G B)" : "255 255 255"

colorvar(integer) : "Color Var" : : "If set, override the tint by the specified color var."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto to prior comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Blocked: Waiting on game PR Waiting for the associated game PR to be merged enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants